<template>
  <div>
    <p>学科：{{ name }}</p>
    <p>类型：{{ type }}</p>
  </div>
</template>

<script>
export default {
  name: "Subject",
  props: ["name", "type"],
};
</script>

<style></style>
